package com.njupt.sellsec.service;

import com.njupt.sellsec.domain.OrderInfo;
import com.njupt.sellsec.domain.SecOrder;
import com.njupt.sellsec.domain.SellUser;
import com.njupt.sellsec.vo.GoodsFormVO;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 17:07 2018/7/29
 * @Modified By:
 **/
public interface OrderService {

    SecOrder getSecOrderByUserIdAndGoodsId(long userId,long goodId);

    OrderInfo createOrder(SellUser user, GoodsFormVO goods);

    void deleteOrders();
}
